/* 重置样式 */
page,
view,
text,
image,
button,
input,
textarea,
scroll-view,
swiper,
swiper-item,
navigator {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 去除按钮默认样式 */
button {
  background-color: transparent;
  padding: 0;
  margin: 0;
  line-height: 1;
  border-radius: 0;
  border: none;
  font-size: inherit;
  color: inherit;
  overflow: visible;
  text-align: left;
  
  &::after {
    border: none;
  }
}

/* 去除导航默认样式 */
navigator {
  line-height: inherit;
  color: inherit;
}

/* 去除输入框默认样式 */
input,
textarea {
  outline: none;
  border: none;
  resize: none;
  background-color: transparent;
}

/* 设置图片默认样式 */
image {
  display: block;
  width: 100%;
  height: auto;
}

/* 设置页面默认样式 */
page {
  font-size: 28rpx;
  line-height: 1.5;
  color: #333;
  background-color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
} 